﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace BanHangCshap.DanhMuc.gkhtdl63
{
    public partial class frmSosanhVattuDuan : Form
    {
        long Id_Duan;
        string Tungay;
        string Denngay;
        public frmSosanhVattuDuan(long Id_Duan,string Tungay,string Denngay)
        {
            this.Id_Duan = Id_Duan;
            this.Tungay = Tungay;
            this.Denngay = Denngay;
            InitializeComponent();
        }

        private void frmSosanhVattuDuan_Load(object sender, EventArgs e)
        {
            Class.gkhtdl63.BLL.DuanBLL xlDuanBLL = new BanHangCshap.Class.gkhtdl63.BLL.DuanBLL();
            gcMain.DataSource = xlDuanBLL.Duan_SosanhVattuDadung(this.Tungay, this.Denngay, this.Id_Duan);
        }

        private void gvMain_MouseWheel(object sender, MouseEventArgs e)
        {
            gvMain.GridMouseWheel(e);
        }
    }
}
